package com.studentmanager.dto;

import java.util.Date;
import java.util.regex.Pattern;

import org.springframework.format.annotation.DateTimeFormat;
//数据传输对象。称为dto操作
//用于数据传输的，在模糊查询时候将输入的数据传输
public class StudentDto {
private String stu_id;
private String stu_name;
private String stu_age;
private String stu_sex;
private String stu_count;
private String stu_password;
@DateTimeFormat(pattern="yyyy-mm-dd")
private Date stu_startdate;
@DateTimeFormat(pattern="yyyy-mm-dd")
private Date stu_enddate;


public Date getStu_startdate() {
	return stu_startdate;
}

public void setStu_startdate(Date stu_startdate) {
	this.stu_startdate = stu_startdate;
}

public Date getStu_enddate() {
	return stu_enddate;
}

public void setStu_enddate(Date stu_enddate) {
	this.stu_enddate = stu_enddate;
}



public String getStu_id() {
	return stu_id;
}

public void setStu_id(String stu_id) {
	this.stu_id = stu_id;
}

public String getStu_name() {
	return stu_name;
}

public void setStu_name(String stu_name) {
	this.stu_name = stu_name;
}

public String getStu_age() {
	return stu_age;
}

public void setStu_age(String stu_age) {
	this.stu_age = stu_age;
}

public String getStu_sex() {
	return stu_sex;
}

public void setStu_sex(String stu_sex) {
	this.stu_sex = stu_sex;
}

public String getStu_count() {
	return stu_count;
}

public void setStu_count(String stu_count) {
	this.stu_count = stu_count;
}

public String getStu_password() {
	return stu_password;
}

public void setStu_password(String stu_password) {
	this.stu_password = stu_password;
}

@Override
public String toString() {
	return "StudentDto [stu_id=" + stu_id + ", stu_name=" + stu_name
			+ ", stu_age=" + stu_age + ", stu_sex=" + stu_sex + ", stu_count="
			+ stu_count + ", stu_password=" + stu_password + "]";
}





}